package com.performanceManagement.dao;

import com.performanceManagement.pojo.EmployeeInformation;
import com.performanceManagement.pojo.PerformanceManagement;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

//PerformanceManagementDao接口
public interface PerformanceManagementDao extends JpaRepository<PerformanceManagement,Integer> {

    /**
     * 自定义查询  通过员工信息查询员工绩效
     */
    List<PerformanceManagement> findByEmployeeInformation(EmployeeInformation employeeInformation);

}
